package com.example.demo0906.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class helloController {//作业任务第三个第一次提交失败的更改
    @RequestMapping("/index")
    @ResponseBody
    public String sayHello() {
        return "hello,world";
    }
}
